home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / stevi69s.zip / VERSION.C < prev   
Text File  |  1990-04-23  |  15KB  |  313 lines

  1. #ifdef OLDSTUF  v1.1
  2. static    char    RCSid[] =
  3. "$Header: /nw/tony/src/stevie/src/RCS/version.c,v 3.69 89/08/13 11:41:58 tony Exp $";
  4. #endif
  5. /*
  6.  * Contains the declaration of the global version number variable.
  7.  *
  8.  * $Log:    version.c,v $
  9.  *
  10.  * v3.69b 90/04/20 Toad Hall Tweak
  11.  * - Referred to throughout as "v1.1"
  12.  * - Nothing significant: only patches to reduce/eliminate Turbo C errors
  13.  *   and warnings.
  14.  * - Compiling interactively.  See TCONFIG.TC for setup.
  15.  *
  16.  * Revision 3.69a  90/02/04            dave
  17.  * A couple of minor bugfixes, and a whole load of enhancements:
  18.  *   -    Added tag-stacking.
  19.  *   -    Added searches for sentences and paragraphs.
  20.  *   -    Enhancements to "help" command:
  21.  *     . Navigation of help screens, not just next-screen.
  22.  *     . Index of help screens.
  23.  *     . Screen for MSDOS-specific features.
  24.  *     . Screen for :set commands.
  25.  *     . A little context-sensitivity.
  26.  *   -    File mode is preserved (it wasn't in previous versions).
  27.  *   -    UNIX-like specifications of environments variables are expanded
  28.  *    in file names.  (E.g.- you can say  :e $HOME/autoexec.bat)
  29.  *   -    PC keys for Insert & Delete now work.
  30.  *   -    Ported to Turbo C for the PC.
  31.  *   -    Integrated Larry Shurr's BIOS option for the PC.
  32.  *   -    Added color and multi-line options for the PC, and hooks for them
  33.  *    in other systems.
  34.  *   -    Made "ctags" a little more general.
  35.  *
  36.  * Revision 3.69  89/08/13  11:41:58  tony
  37.  * Fixed a bug that caused messages from fileinfo() (in misccmds.c) to get
  38.  * screwed up. The routine smsg() which uses the kludge approach to varargs
  39.  * didn't have enough parameters for some of the calls made to it.
  40.  *
  41.  * Revision 3.68  89/08/06  09:51:20  tony
  42.  * Misc. minor changes to make lint happier before posting to USENET.
  43.  * 
  44.  * Revision 3.67  89/08/03  13:08:52  tony
  45.  * There was some code in ops.c that was duplicating the function of the
  46.  * getcmdln() routine in cmdline.c. I modified getcmdln() to be slightly
  47.  * more general, and changed dofilter() in ops.c to use it.
  48.  *
  49.  * Revision 3.66  89/08/02  20:00:12  tony
  50.  * Fixed some problems with mode lines. There were still extra screen
  51.  * redraws that needed to be avoided. There was also a problem involving
  52.  * nested calls to docmdln() that can occur when mode lines are used.
  53.  * 
  54.  * Revision 3.65  89/08/02  15:50:03  tony
  55.  * Finally got around to providing full support for the "change" operator.
  56.  * Multi-line changes (like "cL" or "3cc") now work correctly. Also fixed
  57.  * a small problem with multi-line character-oriented deletes leaving the
  58.  * cursor in the wrong location (off by one character). This is mainly
  59.  * useful for multi-line changes (such as "c%") so the insert starts in
  60.  * the right place.
  61.  * 
  62.  * Revision 3.64  89/08/02  12:47:04  tony
  63.  * This message intentionally left blank.
  64.  * 
  65.  * Revision 3.63  89/08/02  12:43:44  tony
  66.  * I just noticed that I had used the RCS cookie for log messages in one
  67.  * of my prior version messages. This caused these version update messages
  68.  * to be duplicated in this file. I just removed that string, and the
  69.  * extra message copies that had been generated.
  70.  * 
  71.  * Revision 3.62  89/08/02  12:26:20  tony
  72.  * The ^G command now shows where you are in the file list, if more than one
  73.  * file is being edited. Also, the commands ":e#" and ":e!#" (note the lack
  74.  * of a space between the command and file name) will now work.
  75.  *
  76.  * Revision 3.61  89/08/02  11:03:16  tony
  77.  * Misc. cleanups regarding tags. Also added support for the "terse" option.
  78.  * This is ignored, but improves compatibility with vi, since we no longer
  79.  * complain about an unknown option if "terse" is used.
  80.  * 
  81.  * Revision 3.60  89/08/02  09:26:39  tony
  82.  * Added code to avoid screen redraws when input is being read from the
  83.  * "stuffin" buffer. This avoids extra redraws when switching to the
  84.  * alternate file, or when invoking the editor with one of the "+" options,
  85.  * or when using tags.
  86.  *
  87.  * Revision 3.59  89/08/01  16:28:31  tony
  88.  * Added better support for counts on several cursor motion commands. These
  89.  * include ^F, ^B, f, F, t, T, as well as the repeated character search
  90.  * commands (command and semi-colon).
  91.  *
  92.  * Revision 3.58  89/07/19  08:08:23  tony
  93.  * Added the ability for '~' to be an operator. If enabled (by defined TILDEOP
  94.  * in env.h), the parameter "tildeop" (or "to") may be set to turn tilde into
  95.  * an operator.
  96.  * 
  97.  * Revision 3.57  89/07/13  22:47:05  tony
  98.  * Made some generic speed improvements in screen.c and some TOS-specific
  99.  * improvements in tos.c. The TOS version is now much faster at screen
  100.  * updates than before.
  101.  * 
  102.  * Revision 3.56  89/07/13  14:52:03  tony
  103.  * Minor cleanups in normal.c
  104.  * 
  105.  * Revision 3.55  89/07/13  14:19:12  tony
  106.  * Cleaned up the logic in getcmdln() A LOT. The routine docmdln() needs a
  107.  * similar overhaul.
  108.  *
  109.  * Revision 3.54  89/07/12  21:40:01  tony
  110.  * Lots of misc. cleanup in normal.c and cmdline.c, but nothing much in the
  111.  * way of functional improvements. One change is that things like d/foo<CR>
  112.  * will now work since searches are less of a special case now.
  113.  * 
  114.  * Revision 3.53  89/07/11  16:16:08  tony
  115.  * Added general support for interrupt-handling for those environments that
  116.  * can actually generate them. Basically, long-running operations are now
  117.  * able to terminate early if an error occurs. These operations are: string
  118.  * searches, the global command (":g/.../"), and file reads. File writes
  119.  * should probably be done as well, but this is more dangerous. In all cases,
  120.  * the user is given an indication on the status line that the operation
  121.  * terminated due to an interrupt.
  122.  * 
  123.  * Revision 3.52  89/07/11  12:35:09  tony
  124.  * Improved the code in dosub() and doglob() that detects quoted characters
  125.  * and delimiters in search strings and replacement patterns. The current
  126.  * code didn't allow certain valid strings to be used. The delimiter is still
  127.  * required to be '/', but it can be quoted reliably now with backslash.
  128.  * 
  129.  * Revision 3.51  89/07/10  14:01:58  tony
  130.  * Removed the function addtobuff() since it was rarely used and could be
  131.  * replaced by calls to other library functions. Also removed some other
  132.  * obsolete code that was already ifdef'd out anyway.
  133.  * 
  134.  * Revision 3.50  89/07/10  13:10:32  tony
  135.  * Added a workaround in normal.c to avoid problems with broken versions of
  136.  * strncpy() that don't properly deal with a count of zero.
  137.  *
  138.  * Revision 3.49  89/07/07  16:28:37  tony
  139.  * Fixed a long-standing bug with 'cw' when the cursor is positioned on a
  140.  * word with only one character. Also fixed a problems with zero-length files
  141.  * and reverse searches.
  142.  *
  143.  * Revision 3.48  89/03/22  10:26:58  tony
  144.  * Fixed some outdated uses of the ":p" command (which has been changed to
  145.  * ":N" in os2.c and dos.c. Also added macros (F7 and F8) for dos and os/2
  146.  * to use the "cdecl" program to convert lines to and from a pseudo-english
  147.  * form. Use F7 to "explain" the declaration on the current line, and F8 to
  148.  * convert an english-style declaration to the C form. In both cases, the
  149.  * new form is placed on the next line, leaving the original line intact.
  150.  * 
  151.  * Revision 3.47  89/03/11  22:44:14  tony
  152.  * General cleanup. Removed the static "rcsid" variables and the log
  153.  * strings (except in version.c). Fixed some coding style inconsistencies
  154.  * and added a few register declarations.
  155.  * 
  156.  * Revision 3.46  89/02/14  09:52:07  tony
  157.  * Made a first pass at adding Robert Regn's changes, starting with the
  158.  * more portable ones. Added better support for '#' and '%' in colon
  159.  * commands, support for a configurable temp directory, and made the
  160.  * termcap code less picky about capabilities.
  161.  * 
  162.  * Revision 3.45  88/11/10  09:00:06  tony
  163.  * Added support for mode lines. Strings like "vi:stuff:" or "ex:stuff:"
  164.  * occurring in the first or last 5 lines of a file cause the editor to
  165.  * pretend that "stuff" was types as a colon command. This examination
  166.  * is done only if the parameter "modelines" (or "ml") is set. This is
  167.  * not enabled, by default, because of the security implications involved.
  168.  *
  169.  * Revision 3.44  88/11/01  21:34:11  tony
  170.  * Fixed a couple of minor points for Minix, and improved the speed of
  171.  * the 'put' command dramatically.
  172.  * 
  173.  * Revision 3.43  88/10/31  13:11:33  tony
  174.  * Added optional support for termcap. Initialization is done in term.c
  175.  * and also affects the system-dependent files. To enable termcap in those
  176.  * environments that support it, define the symbol "TERMCAP" in env.h
  177.  *
  178.  * Revision 3.42  88/10/27  18:30:19  tony
  179.  * Removed support for Megamax. Added '%' as an alias for '1,$'. Made the
  180.  * 'r' command more robust. Now prints the string on repeated searches.
  181.  * The ':=" command now works. Some pointer operations are now safer.
  182.  * The ":!" and ":sh" now work correctly. Re-organized the help screens
  183.  * a little.
  184.  * 
  185.  * Revision 3.41  88/10/06  10:15:00  tony
  186.  * Fixed a bug involving ^Y that occurs when the cursor is on the last
  187.  * line, and the line above the screen is long. Also hacked up fileio.c
  188.  * to pass pathnames off to fixname() for system-dependent processing.
  189.  * Used under DOS & OS/2 to trim parts of the name appropriately.
  190.  * 
  191.  * Revision 3.40  88/09/16  08:37:36  tony
  192.  * No longer beeps when repeated searches fail.
  193.  *
  194.  * Revision 3.39  88/09/06  06:51:07  tony
  195.  * Fixed a bug with shifts that was introduced when replace mode was added.
  196.  * 
  197.  * Revision 3.38  88/08/31  20:48:28  tony
  198.  * Made another fix in search.c related to repeated searches.
  199.  * 
  200.  * Revision 3.37  88/08/30  20:37:16  tony
  201.  * After much prodding from Mark, I finally added support for replace mode.
  202.  *
  203.  * Revision 3.36  88/08/26  13:46:34  tony
  204.  * Added support for the '!' (filter) operator.
  205.  * 
  206.  * Revision 3.35  88/08/26  08:46:01  tony
  207.  * Misc. changes to make lint happy.
  208.  * 
  209.  * Revision 3.34  88/08/25  15:13:36  tony
  210.  * Fixed a bug where the cursor didn't land on the right place after
  211.  * "beginning-of-word" searches if the word was preceded by the start
  212.  * of the line and a single character.
  213.  * 
  214.  * Revision 3.33  88/08/23  12:53:08  tony
  215.  * Fixed a bug in ssearch() where repeated searches ('n' or 'N') resulted
  216.  * in dynamic memory being referenced after it was freed.
  217.  * 
  218.  * Revision 3.32  88/08/17  07:37:07  tony
  219.  * Fixed a general problem in u_save() by checking both parameters for
  220.  * null values. The specific symptom was that a join on the last line of
  221.  * the file would crash the editor.
  222.  * 
  223.  * Revision 3.31  88/07/09  20:39:38  tony
  224.  * Implemented the "line undo" command (i.e. 'U').
  225.  * 
  226.  * Revision 3.30  88/06/28  07:54:22  tony
  227.  * Fixed a bug involving redo's of the '~' command. The redo would just
  228.  * repeat the replacement last performed instead of switching the case of
  229.  * the current character.
  230.  * 
  231.  * Revision 3.29  88/06/26  14:53:19  tony
  232.  * Added support for a simple form of the "global" command. It supports
  233.  * commands of the form "g/pat/d" or "g/pat/p", to delete or print lines
  234.  * that match the given pattern. A range spec may be used to limit the
  235.  * lines to be searched.
  236.  *
  237.  * Revision 3.28  88/06/25  21:44:22  tony
  238.  * Fixed a problem in the processing of colon commands that caused
  239.  * substitutions of patterns containing white space to fail.
  240.  * 
  241.  * Revision 3.27  88/06/20  14:52:21  tony
  242.  * Merged in changes for BSD Unix sent in by Michael Lichter.
  243.  * 
  244.  * Revision 3.26  88/06/10  13:44:06  tony
  245.  * Fixed a bug involving writing out files with long pathnames. A small
  246.  * fixed size buffer was being used. The space for the backup file name
  247.  * is now allocated dynamically.
  248.  * 
  249.  * Revision 3.25  88/05/04  08:29:02  tony
  250.  * Fixed a minor incompatibility with vi involving the 'G' command. Also
  251.  * changed the RCS version number of version.c to match the actual version
  252.  * of the editor.
  253.  *
  254.  * Revision 1.12  88/05/03  14:39:52  tony
  255.  * Changed the screen representation of the ascii character DELETE to be
  256.  * compatible with vi. Also merged in support for DOS.
  257.  * 
  258.  * Revision 1.11  88/05/02  21:38:21  tony
  259.  * The code that reads files now handles boundary/error conditions much
  260.  * better, and generates status/error messages that are compatible with
  261.  * the real vi. Also fixed a bug in repeated reverse searches that got
  262.  * inserted in the recent changes to search.c.
  263.  * 
  264.  * Revision 1.10  88/05/02  07:35:41  tony
  265.  * Fixed a bug in the routine plines() that was introduced during changes
  266.  * made for the last version.
  267.  * 
  268.  * Revision 1.9  88/05/01  20:10:19  tony
  269.  * Fixed some problems with auto-indent, and added support for the "number"
  270.  * parameter.
  271.  * 
  272.  * Revision 1.8  88/04/30  20:00:49  tony
  273.  * Added support for the auto-indent feature.
  274.  * 
  275.  * Revision 1.7  88/04/29  14:50:11  tony
  276.  * Fixed a class of bugs involving commands like "ct)" where the cursor
  277.  * motion part of the operator can fail. If the motion failed, the operator
  278.  * was continued, with the cursor position unchanged. Cases like this were
  279.  * modified to abort the operation if the motion fails.
  280.  * 
  281.  * Revision 1.6  88/04/28  08:19:35  tony
  282.  * Modified Henry Spencer's regular expression library to support new
  283.  * features that couldn't be done easily with the existing interface.
  284.  * This code is now a direct part of the editor source code. The editor
  285.  * now supports the "ignorecase" parameter, and multiple substitutions
  286.  * per line, as in "1,$s/foo/bar/g".
  287.  *
  288.  * Revision 1.5  88/04/24  21:38:00  tony
  289.  * Added preliminary support for the substitute command. Full range specs.
  290.  * are supported, but only a single substitution is allowed on each line.
  291.  * 
  292.  * Revision 1.4  88/04/23  20:41:01  tony
  293.  * Worked around a problem with adding lines to the end of the buffer when
  294.  * the cursor is at the bottom of the screen (in misccmds.c). Also fixed a
  295.  * bug that caused reverse searches from the start of the file to bomb.
  296.  *
  297.  * Revision 1.3  88/03/24  08:57:00  tony
  298.  * Fixed a bug in cmdline() that had to do with backspacing out of colon
  299.  * commands or searches. Searches were okay, but colon commands backed out
  300.  * one backspace too early.
  301.  *
  302.  * Revision 1.2  88/03/21  16:47:55  tony
  303.  * Fixed a bug in renum() causing problems with large files (>6400 lines).
  304.  * Also moved system-specific defines out of stevie.h and into a new file
  305.  * named env.h. This keeps volatile information outside the scope of RCS.
  306.  *
  307.  * Revision 1.1  88/03/20  21:00:39  tony
  308.  * Initial revision
  309.  *
  310.  */
  311.  
  312. char    *Version = "STEVIE - Version 3.69b";
  313.